package nl.gamayun.whohasit;

import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;

public class WhoHasIt extends Application implements OnSharedPreferenceChangeListener
{
	private static Context	context;
	private boolean serviceRunning;

	public void onCreate()
	{
		super.onCreate();
		WhoHasIt.context = getApplicationContext();
	}

	public static Context getContext()
	{
		return context;
	}

	public void onSharedPreferenceChanged(SharedPreferences arg0, String arg1) {
		// TODO Auto-generated method stub
		
	}

	public boolean isServiceRunning() {
		return serviceRunning;
	}

	public void setServiceRunning(boolean serviceRunning) {
		this.serviceRunning = serviceRunning;
	}
}
